<template>
  <div class="app-container home">
    <!-- 主要内容区域 -->
    <el-row :gutter="20">
      <el-col :span="24">
        <!-- 这里可以添加您的内容 -->
        <div class="content-placeholder">
          <h2>欢迎使用管理系统</h2>
          <p>请在此处添加您的首页内容</p>
        </div>
      </el-col>
    </el-row>

    <!-- 可选的多列布局区域 -->
    <el-row :gutter="20" style="margin-top: 20px;">
      <el-col :xs="24" :sm="12" :md="8" :lg="8">
        <el-card>
          <template #header>
            <div class="card-header">
              <span>卡片标题 1</span>
            </div>
          </template>
          <div class="card-content">
            <!-- 卡片内容 -->
          </div>
        </el-card>
      </el-col>
      
      <el-col :xs="24" :sm="12" :md="8" :lg="8">
        <el-card>
          <template #header>
            <div class="card-header">
              <span>卡片标题 2</span>
            </div>
          </template>
          <div class="card-content">
            <!-- 卡片内容 -->
          </div>
        </el-card>
      </el-col>
      
      <el-col :xs="24" :sm="12" :md="8" :lg="8">
        <el-card>
          <template #header>
            <div class="card-header">
              <span>卡片标题 3</span>
            </div>
          </template>
          <div class="card-content">
            <!-- 卡片内容 -->
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script setup name="Index">
// 在这里添加您的响应式数据和方法
// 例如：
// const data = ref([])
// const loading = ref(false)

// 示例方法
function handleExample() {
  // 处理逻辑
}
</script>

<style scoped lang="scss">
.home {
  .content-placeholder {
    text-align: center;
    padding: 40px 20px;
    
    h2 {
      margin-bottom: 16px;
      color: #303133;
      font-weight: 500;
    }
    
    p {
      color: #606266;
      font-size: 14px;
    }
  }
  
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    span {
      font-weight: 500;
      color: #303133;
    }
  }
  
  .card-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #909399;
    font-size: 14px;
  }
  
  // 响应式样式
  @media (max-width: 768px) {
    .content-placeholder {
      padding: 20px 10px;
    }
  }
}

// 全局样式重置
.app-container {
  padding: 20px;
}

.el-card {
  margin-bottom: 20px;
}
</style>

